not able to deploy my webapp to a remote server

not able to deploy my webapp to a remote server

am 25.12.2009 19:56:36 von vijay shanker

--0016e64692ae9fe335047b921e04
Content-Type: text/plain; charset=ISO-8859-1

Hi friends;

I am very screwed here.

I am using tomcat-maven-plugin to deploy my work on a remote server.. My
remote server is running on centos box. Now here goes my situation log
whenever i rum deploy command.
I have tried running this by iptables disables. but that also does not
change the situation.

Comand
----
D:\VijayAtWork\TeamProjects\trunk\works>mvn -e
org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy
---

logs

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------ ------------
[INFO] Building mobivite
[INFO] task-segment:
[org.codehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy]
[INFO]
------------------------------------------------------------ ------------
[INFO] Preparing tomcat:deploy
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING] While downloading aspectj:aspectjweaver:1.5.4
This artifact has been relocated to org.aspectj:aspectjweaver:1.5.4.


[WARNING] While downloading javax.xml.soap:saaj-impl:1.3
This artifact has been relocated to
com.sun.xml.messaging.saaj:saaj-impl:1.3.


Downloading:
http://192.168.1.200:8014/artifactory/repo/org/springframewo rk/spring-hibernate3/2.0-rc2/spring-hibernate3-2.0-rc2.pom
Downloading:
http://192.168.1.200:8014/artifactory/repo/woodstox/wstx-asl /3.2.7/wstx-asl-3.2.7.pom
[INFO] [compiler:compile]
[INFO] Compiling 1 source file to
D:\VijayAtWork\TeamProjects\trunk\works\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory:
D:\VijayAtWork\TeamProjects\trunk\works\target\surefire-repo rts

-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[works] in
[D:\VijayAtWork\TeamProjects\trunk\works\target\works]
[INFO] Processing war project
[INFO] Webapp assembled in[4707 msecs]
[INFO] Building war:
D:\VijayAtWork\TeamProjects\trunk\works\target\works.war
[INFO] [tomcat:deploy]
[INFO] Deploying war to http://servername.net:8080/works
[INFO]
------------------------------------------------------------ ------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------ ------------
[INFO] Cannot invoke Tomcat manager: FAIL - Encountered exception
java.net.SocketTimeoutException: Read timed out

[INFO]
------------------------------------------------------------ ------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Cannot invoke Tomcat
manager: FAIL - Encountered exception java.net.SocketTimeoutException: Read
timed out

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oals(DefaultLifecycleExecutor.java:583)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeS tandaloneGoal(DefaultLifecycleExecutor.java:512)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oal(DefaultLifecycleExecutor.java:482)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeT askSegments(DefaultLifecycleExecutor.java:291)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:33 6)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.ja va:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher. java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Cannot invoke
Tomcat manager: FAIL - Encountered exception
java.net.SocketTimeoutException: Read timed out

at
org.codehaus.mojo.tomcat.AbstractCatalinaMojo.execute(Abstra ctCatalinaMojo.java:145)
at
org.codehaus.mojo.tomcat.AbstractWarCatalinaMojo.execute(Abs tractWarCatalinaMojo.java:63)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(Def aultPluginManager.java:451)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oals(DefaultLifecycleExecutor.java:558)
... 16 more
[INFO]
------------------------------------------------------------ ------------
[INFO] Total time: 2 minutes 40 seconds
[INFO] Finished at: Sat Dec 26 00:04:03 IST 2009
[INFO] Final Memory: 21M/254M
[INFO]
------------------------------------------------------------ ------------

D:\VijayAtWork\TeamProjects\works\trunk\works>


Will you please suggest where should i look for solution.


My POM.xml entry is given below


-----

org.codehaus.mojo
tomcat-maven-plugin
1.0-beta-1

http://servername.net:8080/manager
admin
admin@vijay
/works


-----


Regards,
Vijay Shanker Dubey
Ph: +91-9818311884

--0016e64692ae9fe335047b921e04
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi friends;


I am very screwed here.

=
I am using tomcat-maven-plugin to deploy my work on a remote server.. =
My remote server is running on centos box. Now here goes my situation log w=
henever i rum deploy command.


I have tried running this by iptables disables. but that also does not=
change the situation.

Comand
----
=
D:\VijayAtWork\TeamProjects\trunk\works>mvn -e org.codehaus.mo=
jo:tomcat-maven-plugin:1.0-beta-1:deploy


---

logs=A0

+ Error =
stacktraces are turned on.
[INFO] Scanning for projects...
<=
div>[INFO] ------------------------------------------------------------ ----=
--------


[INFO] Building mobivite
[INFO] =A0 =A0task-segment: [org.co=
dehaus.mojo:tomcat-maven-plugin:1.0-beta-1:deploy]
[INFO] -------=
------------------------------------------------------------ -----
>

[INFO] Preparing tomcat:deploy
[INFO] [resources:resources]
=
[INFO] Using default encoding to copy filtered resources.
[W=
ARNING] While downloading aspectj:aspectjweaver:1.5.4
  This =
artifact has been relocated to org.aspectj:aspectjweaver:1.5.4.




[WARNING] While downloading javax.xml.so=
ap:saaj-impl:1.3
  This artifact has been relocated to com.su=
n.xml.messaging.saaj:saaj-impl:1.3.


>

Downloading: ngframework/spring-hibernate3/2.0-rc2/spring-hibernate3-2.0- rc2.pom">http:/=
/192.168.1.200:8014/artifactory/repo/org/springframework/spr ing-hibernate3/=
2.0-rc2/spring-hibernate3-2.0-rc2.pom


Downloading: dstox/wstx-asl/3.2.7/wstx-asl-3.2.7.pom">http://192.168.1.20 0:8014/artifact=
ory/repo/woodstox/wstx-asl/3.2.7/wstx-asl-3.2.7.pom
[INFO] [c=
ompiler:compile]


[INFO] Compiling 1 source file to D:\VijayAtWork\TeamProjects\trunk\wo=
rks\target\classes
[INFO] [resources:testResources]
[IN=
FO] Using default encoding to copy filtered resources.
[INFO] [co=
mpiler:testCompile]


[INFO] Nothing to compile - all classes are up to date
[INFO=
] [surefire:test]
[INFO] Surefire report directory: D:\VijayAtWor=
k\TeamProjects\trunk\works\target\surefire-reports



-------------------------------------------------------
=A0T=
E S T S
-------------------------------------------------------<=
/div>
There are no tests to run.

Results : v>


Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
<=
div>
[INFO] [war:war]
[INFO] Packaging webapp
=
[INFO] Assembling webapp[works] in [D:\VijayAtWork\TeamProjects\trunk\=
works\target\works]


[INFO] Processing war project
[INFO] Webapp assembled in[470=
7 msecs]
[INFO] Building war: D:\VijayAtWork\TeamProjects\trunk\w=
orks\target\works.war
[INFO] [tomcat:deploy]
[INFO] Dep=
loying war to http://servernam=
e.net:8080/works


[INFO] ------------------------------------------------------------ ---=
---------
[ERROR] BUILD ERROR
[INFO] ------------------=
------------------------------------------------------
[INFO] Can=
not invoke Tomcat manager: FAIL - Encountered exception java.net.SocketTime=
outException: Read timed out



[INFO] ------------------------------------------------=
------------------------
[INFO] Trace
org.apache.maven.=
lifecycle.LifecycleExecutionException: Cannot invoke Tomcat manager: FAIL -=
Encountered exception java.net.SocketTimeoutException: Read timed out >


   =A0 =A0 =A0at org.apache.maven.lifecycle.Default=
LifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java :583)
>   =A0 =A0 =A0at org.apache.maven.lifecycle.DefaultLifecycleExecutor.e=
xecuteStandaloneGoal(DefaultLifecycleExecutor.java:512)


   =A0 =A0 =A0at org.apache.maven.lifecycle.DefaultLifecycleExecut=
or.executeGoal(DefaultLifecycleExecutor.java:482)
   =A0 =A0 =
=A0at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeG oalAndHan=
dleFailures(DefaultLifecycleExecutor.java:330)


   =A0 =A0 =A0at org.apache.maven.lifecycle.DefaultLifecycleExecut=
or.executeTaskSegments(DefaultLifecycleExecutor.java:291)
   =
=A0 =A0 =A0at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( D=
efaultLifecycleExecutor.java:142)


   =A0 =A0 =A0at org.apache.maven.DefaultMaven.doExecute(DefaultMa=
ven.java:336)
   =A0 =A0 =A0at org.apache.maven.DefaultMaven.=
execute(DefaultMaven.java:129)
   =A0 =A0 =A0at org.apache.ma=
ven.cli.MavenCli.main(MavenCli.java:287)


   =A0 =A0 =A0at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati=
ve Method)
   =A0 =A0 =A0at sun.reflect.NativeMethodAccessorI=
mpl.invoke(NativeMethodAccessorImpl.java:39)
   =A0 =A0 =A0at=
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorIm=
pl.java:25)


   =A0 =A0 =A0at java.lang.reflect.Method.invoke(Method.java:597)<=
/div>
   =A0 =A0 =A0at org.codehaus.classworlds.Launcher.launchEnha=
nced(Launcher.java:315)
   =A0 =A0 =A0at org.codehaus.classwo=
rlds.Launcher.launch(Launcher.java:255)


   =A0 =A0 =A0at org.codehaus.classworlds.Launcher.mainWithExitCod=
e(Launcher.java:430)
   =A0 =A0 =A0at org.codehaus.classworld=
s.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.pl=
ugin.MojoExecutionException: Cannot invoke Tomcat manager: FAIL - Encounter=
ed exception java.net.SocketTimeoutException: Read timed out



   =A0 =A0 =A0at org.codehaus.mojo.tomcat.AbstractC=
atalinaMojo.execute(AbstractCatalinaMojo.java:145)
   =A0 =A0=
=A0at org.codehaus.mojo.tomcat.AbstractWarCatalinaMojo.execute(Abs tractWar=
CatalinaMojo.java:63)


   =A0 =A0 =A0at org.apache.maven.plugin.DefaultPluginManager.exec=
uteMojo(DefaultPluginManager.java:451)
   =A0 =A0 =A0at org.a=
pache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( DefaultLifecycl=
eExecutor.java:558)


   =A0 =A0 =A0... 16 more
[INFO] -----------------------=
-------------------------------------------------
[INFO] Total ti=
me: 2 minutes 40 seconds
[INFO] Finished at: Sat Dec 26 00:04:03 =
IST 2009


[INFO] Final Memory: 21M/254M
[INFO] -----------------------=
-------------------------------------------------

=
D:\VijayAtWork\TeamProjects\works\trunk\works>




Will you please suggest where should i look for=A0solution.<=
/div>


My POM.xml entry is given below v>


-----
ple-tab-span" style=3D"white-space:pre"> <plugin>


&l=
t;groupId>org.codehaus.mojo</groupId>
le-tab-span" style=3D"white-space:pre"> <artifactId>tomcat-=
maven-plugin</artifactId>


&l=
t;version>1.0-beta-1</version>
span" style=3D"white-space:pre"> <configuration>


&=
lt;username>admin</username>
an" style=3D"white-space:pre"> <password>admin@vijay</p=
assword>


&=
lt;path>/works</path>
le=3D"white-space:pre"> </configuration>
ass=3D"Apple-tab-span" style=3D"white-space:pre"> </plugin><=
/div>

-----


Regards,<=
br>Vijay Shanker Dubey
Ph: +91-9818311884



--0016e64692ae9fe335047b921e04--

Re: not able to deploy my webapp to a remote server

am 25.12.2009 20:10:04 von vijay shanker

--0016e64692aec93078047b924e3d
Content-Type: text/plain; charset=ISO-8859-1

Hello friends;

selected wrong email id and send

:)

Sorry for inconvenience


R

Vijay

--0016e64692aec93078047b924e3d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello friends;

selected wrong email id and se=
nd

:)

Sorry for=A0inconvenienc=
e


R

Vijay



--0016e64692aec93078047b924e3d--